﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using DataFileApplication_WPF.Extensions;
using DataFileApplication_WPF.Models;
using DataFileApplication_WPF.Common;


namespace DataFileApplication_WPF.ViewModels
{
    public class AddDataGridItemViewModel : NotifyPropertyChangedBase
    {


        private string _key;
        public string Key
        {
            get { return _key; }
            set
            {
                _key = value;
                this.RaisePropertyChanged();
            }
        }


        private EnumDataType _selectedEnumValue;
        public EnumDataType SelectedEnumValue
        {
            get { return _selectedEnumValue; }
            set
            {
                _selectedEnumValue = value;
                this.RaisePropertyChanged();
            }
        }

        private string _value;
        public string Value
        {
            get { return _value; }
            set
            {
                _value = value;
                this.RaisePropertyChanged();
            }
        }

        private string _chineseComment;
        public string ChineseComment
        {
            get { return _chineseComment; }
            set
            {
                _chineseComment = value;
                this.RaisePropertyChanged();
            }
        }


        private string _englishComment;
        public string EnglishComment
        {
            get { return _englishComment; }
            set
            {
                _englishComment = value;
                this.RaisePropertyChanged();
            }
        }


        private string _germanComment;
        public string GermanComment
        {
            get { return _germanComment; }
            set
            {
                _germanComment = value;
                this.RaisePropertyChanged();
            }
        }


        private List<bool> _boolList;
        public List<bool> BoolList
        {
            get { return new List<Boolean>() { true, false }; }
            set { _boolList = value; this.RaisePropertyChanged(); }
        }


        //private DataGridItemStruct _addDataGridItemModelData;


        //public DataGridItemStruct AddDataGridItemModelData
        //{
        //    get { return _addDataGridItemModelData; }
        //    set
        //    {
        //        _addDataGridItemModelData = value;
        //        this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(AddDataGridItemModelData)));
        //    }
        //}


    }
}
